<?php
	// Admin role
	define("ROLE_ADMIN_SUPER", 'ADMIN_SUPER');
	define("ROLE_ADMIN", 'ADMIN');	
	define("ROLE_MEMBER", 'MEMBER');
	define("ROLE_SHIPPING", 'SHIPPING');
	define("ROLE_DEALMANAGER", 'DEALMANAGER');
	define("ROLE_ACCOUNTANT", 'ACCOUNTANT');
	define("ROLE_SUPPORT", 'SUPPORT');
	//Member of user's page
	define("ROLE_MEMBER_USER", 'MEMBER_USER');

	// User status
	define("USER_STATUS_INACTIVE", 0);
	define("USER_STATUS_ACTIVE", 1);
	define("USER_STATUS_SUSPENDED", 2);
	define("USER_STATUS_BLOCKED", 3);
	define("USER_STATUS_DELETED", 4);
	
	// Define MASTER CATEGORY
	define("MASTER_CATEGORY", 0);
	define("MASTER_CATEGORY_NAME", "ROOT CATEGORY");
	
	// Define Demo User
	define("DEMO_USERNAME", "demo");
	define("DEMO_PASSWORD", "123456");
	
	// Successfull code
	define("SUCC", 1);
	
	// Session for user logged in
	define('SESSION_USER_LOGGED', 'SESSION_USER_ENTITY_LOGGED');
	define('SESSION_CUSTOMER_ORDER', 'SESSION_CUSTOMER_ORDER_ENTITY');
	define('SESSION_DEMO_MODE', 'SESSION_DEMO_MODE');
	
	// Define history pages
	define("USER_VISIT_CONTACT_US", 'CONTACT US');
	define("USER_VISIT_DEPOSIT", 'DEPOSIT');
	define("USER_VISIT_DOWNLOAD", 'DOWNLOAD');
	define("USER_VISIT_HOMEPAGE", 'HOME PAGE');
	define("USER_VISIT_LOGIN", 'LOGIN');
	define("USER_VISIT_SIGNUP", 'SIGN UP');
	define("USER_VISIT_MAKEMONEY", 'MAKE MONEY');
	define("USER_VISIT_ORDER", 'ORDER');
	define("USER_VISIT_PRODUCT", 'PRODUCT');
	define("USER_VISIT_PROFILE", 'PROFILE');
	define("USER_VISIT_FORUM", 'FORUM');
	define("USER_VISIT_MYACCOUNT", 'MY ACCOUNT');
	define("USER_VISIT_ADMIN", 'ADMIN');
	define("USER_VISIT_ADMIN_LOGIN", 'ADMIN LOGIN');
	define("USER_VISIT_ADMIN_LOGOUT", 'ADMIN LOG OUT');

	define("SYSTEM_EMAIL_RESEND_PASSWORD", 'RESEND_PASSWORD');
	define("SYSTEM_EMAIL_CONTACT_US", 'CONTACT_US');
	define("SYSTEM_EMAIL_USER_CONTACT_US", 'USER_CONTACT_US');
	

	// Error code
	define("ERROR", -1);
	
	define("ITEM_PER_PAGE", 100);
	
	/**
	* @desc Pager
	*/
	$lang_pager_first                    =   "First";
	$lang_pager_last                     =   "Last";
	$lang_pager_next                     =   "Next";
	$lang_pager_page                     =   "Page";
	$lang_pager_pages                    =   "page(s)";
	$lang_pager_previous                 =   "Prev";
	$lang_pager_of                       =   "of";
	$lang_pager_result                   =   "Result";
	$lang_pager_results                  =   " result(s).";
	$lang_pager_no_record                =   "No result.";
	
	define("ADMIN_EMAIL", 'thanhphi89@gmail.com');
	define("ADMIN_NAME", 'MUAHOI');
	
	define("DEFAULT_TEMPLATE_ID", 1);
	
	//DEFINE OPTION TYPE
	define("PACK_OPTION_1", 1);
	define("PACK_OPTION_2", 2);
	define("PACK_OPTION_3", 3);
	define("PACK_OPTION_4", 4);
	define("PACK_OPTION_NAME_1", "Option 1");
	define("PACK_OPTION_NAME_2", "Option 2");
	define("PACK_OPTION_NAME_3", "Option 3");
	define("PACK_OPTION_NAME_4", "Option 4");
	define("ALL_PACKAGE", 0);
	
	//DEFINE OPTION TYPE
	define("PACK_PAGE_INCLUDE_UNLIMIT", -1);
	
	//Define All constant name for Settings
	define("SETTINGS_ADMIN_EMAIL", "admin_email");
	define("SETTINGS_ADMIN_NAME", "admin_name");
	define("SETTINGS_PAYPAL_USERNAME", "paypal_username");
	define("SETTINGS_PAYPAL_PASSWORD", "paypal_password");
	define("SETTINGS_PAYPAL_SIGNATURE", "paypal_signature");
	define("SETTINGS_PAYPAL_TESTMODE", "paypal_testmode");
	
	define("SETTINGS_2CHECKOUT_USERNAME", "2checkout_username");
	define("SETTINGS_2CHECKOUT_PASSWORD", "2checkout_password");
	define("SETTINGS_2CHECKOUT_VENDORID", "2checkout_vendorid");
	define("SETTINGS_2CHECKOUT_SECRET_WORD", "2checkout_secret_word");
	define("SETTINGS_2CHECKOUT_TESTMODE", "2checkout_testmode");
	
	define("SETTINGS_HOMEPAGE_TITLE", "homepage_title");
	define("SETTINGS_HOMEPAGE_META_KEYWORDS", "homepage_meta_keywords");
	define("SETTINGS_HOMEPAGE_META_DESCRIPTION", "homepage_meta_description");	
	define("SETTINGS_CONTACT_TITLE", "contact_title");
	define("SETTINGS_CONTACT_META_KEYWORDS", "contact_meta_keywords");
	define("SETTINGS_CONTACT_META_DESCRIPTION", "contact_meta_description");	
	define("SETTINGS_PRICE_LIST_TITLE", "price_list_title");
	define("SETTINGS_PRICE_LIST_META_KEYWORDS", "price_list_meta_keywords");
	define("SETTINGS_PRICE_LIST_META_DESCRIPTION", "price_list_meta_description");	
	define("SETTINGS_PRICE_OPTION_1_TITLE", "price_option_1_title");
	define("SETTINGS_PRICE_OPTION_1_META_KEYWORDS", "price_option_1_meta_keywords");
	define("SETTINGS_PRICE_OPTION_1_META_DESCRIPTION", "price_option_1_meta_description");	
	define("SETTINGS_PRICE_OPTION_2_TITLE", "price_option_2_title");
	define("SETTINGS_PRICE_OPTION_2_META_KEYWORDS", "price_option_2_meta_keywords");
	define("SETTINGS_PRICE_OPTION_2_META_DESCRIPTION", "price_option_2_meta_description");	
	define("SETTINGS_PRICE_OPTION_3_TITLE", "price_option_3_title");
	define("SETTINGS_PRICE_OPTION_3_META_KEYWORDS", "price_option_3_meta_keywords");
	define("SETTINGS_PRICE_OPTION_3_META_DESCRIPTION", "price_option_3_meta_description");	
	define("SETTINGS_PRICE_OPTION_4_TITLE", "price_option_4_title");
	define("SETTINGS_PRICE_OPTION_4_META_KEYWORDS", "price_option_4_meta_keywords");
	define("SETTINGS_PRICE_OPTION_4_META_DESCRIPTION", "price_option_4_meta_description");
	
	define("SETTINGS_USER_DOMAIN", "user_domain");
	define("SETTINGS_USER_WEBSITE_NAME", "user_website_name");	
	define("SETTINGS_USER_WEBSITE_LOGO", "user_website_logo");
	define("SETTINGS_USER_WEBSITE_FAVICON", "user_website_favicon");
	define("SETTINGS_USER_FACEBOOk", "user_facebook_url");
	define("SETTINGS_USER_TWITTER", "user_twitter_url");
	define("SETTINGS_USER_LINKIN", "user_linkin_url");
	
	define("GOOGLE_API_CODE", "google_api_code");
	define("FEE_SERVICE", "fee_service");
	define("CURRENCY_USD_VND", "currency_usd_vnd");
	
	// Template for DEMO Tab 
	define("SETTINGS_DEMO_TEMPLATE", "demo_template");
	
	// Define SHIPPING FEE 
	define("SETTINGS_SHIPPING_FEE", "shipping_fee");
	define("SETTINGS_SHIPPING_METHOD", "shipping_method");
	define("SETTINGS_USER_CURRENCY", "user_currency");	
	
	// Define Payment Method that user use
	define("PAYMENT_PAYPAL", "Paypal");
	define("PAYMENT_2CHECKOUT", "2Checkout");
	define("PAYMENT_GOOGLECHECKOUT", "GoogleCheckout");
	define("PAYMENT_WORLDPAY", "Worldpay");
	define("PAYMENT_EWAY", "Eway");
	define("PAYMENT_NGANLUONG", "Nganluong");
	define("PAYMENT_BALANCE", "Balance");
	define("PAYMENT_INVOICE", "Invoice");
	
	// Define all Category type using in system
	define("CATEGORY_BLOG", "blog_category");
	define("CATEGORY_NEWS", "news_category");
	define("CATEGORY_PHOTO", "photo_category");
	define("CATEGORY_PRODUCT", "product_category");	
	
	// Define all Page Type for users
	define("PAGE_CONTACT", "contact_page");
	define("PAGE_ABOUTUS", "aboutus_page");
	define("PAGE_HOME", "home_page");
	define("PAGE_CUSTOM", "custom_page");
	
	define("ORDER_STATUS_EDITING", 0);
	define("ORDER_STATUS_PENDING", 1);
	define("ORDER_STATUS_PROCESSING", 2);
	define("ORDER_STATUS_PROCESSED", 3);
	define("ORDER_STATUS_DELIVERED", 4);
	define("ORDER_STATUS_CANCELLED", 5);
	
	define("ORDER_STATUS_EDITING_TEXT", "Editing");
	define("ORDER_STATUS_PENDING_TEXT", "Pending");
	define("ORDER_STATUS_PROCESSING_TEXT", "Processing");
	define("ORDER_STATUS_PROCESSED_TEXT", "Processed");
	define("ORDER_STATUS_DELIVERED_TEXT", "Delivered");
	define("ORDER_STATUS_CANCELLED_TEXT", "Cancelled");
	
	// Address Type
	define("ADDRESS_SHIPPING", "ship");
	define("ADDRESS_BILLING", "bill");
	
	// All Features Name
	define("MODULE_CMS", 0);
	define("MODULE_BLOGGING", 1);
	define("MODULE_GALLERY", 2);
	define("MODULE_ECOMMERCE", 3);
	define("MODULE_NEWS", 4);
	define("MODULE_CUSTOM_DESIGN", 5);
	define("MODULE_OWN_DOMAIN", 6);
	define("MODULE_HOSTING_FREE", 7);
	define("MODULE_BRANDING_FREE", 8);
	define("MODULE_PAGE_INCLUDE", 9);	
	
	define("SETTINGS_PAYPAL_ENABLE", "paypal_enable");
	define("SETTINGS_2CHECKOUT_ENABLE", "2checkout_enable");
	define("SETTINGS_2CHECKOUT_SID", "2checkout_sid");
	
	define("SETTINGS_GOOGLECHECKOUT_ENABLE", "googlecheckout_enable");
	define("SETTINGS_GOOGLECHECKOUT_MERCHANTID", "googlecheckout_merchantid");
	define("SETTINGS_GOOGLECHECKOUT_MERCHANTKEY", "googlecheckout_merchantkey");
	define("SETTINGS_GOOGLECHECKOUT_MODE", "googlecheckout_mode");
	
	define("SETTINGS_WORLDPAY_ENABLE", "worldpay_enable");
	define("SETTINGS_WORLDPAY_INSTALLATIONID", "worldpay_installationid");
	define("SETTINGS_WORLDPAY_PASSWORD", "worldpay_password");
	define("SETTINGS_WORLDPAY_MODE", "worlpay_mode");
	

	define("SETTINGS_EWAY_ENABLE", "eway_enable");
	define("SETTINGS_EWAY_CUSTOMERID", "eway_customerid");
	define("SETTINGS_EWAY_USERNAME", "eway_username");
	define("SETTINGS_EWAY_RETURN_URL", "eway_return_url");
	define("SETTINGS_EWAY_CANCEL_URL", "eway_cancel_url");
	define("SETTINGS_EWAY_TESTACCOUNT", "eway_testaccount");
	
	define("SLAPPIT_PACKAGE_1", "Slappit Package Option 1");
	define("SLAPPIT_PACKAGE_2", "Slappit Package Option 2");
	define("SLAPPIT_PACKAGE_3", "Slappit Package Option 3");
	define("SLAPPIT_PACKAGE_4", "Slappit Package Option 4");
	define("SLAPPIT_PACKAGE_1_WITH_BRAND_FREE", "Slappit Package Option 1 with Brand Free");
	define("SLAPPIT_PACKAGE_2_WITH_BRAND_FREE", "Slappit Package Option 2 with Brand Free");
	define("SLAPPIT_PACKAGE_3_WITH_BRAND_FREE", "Slappit Package Option 3 with Brand Free");
	define("SLAPPIT_PACKAGE_4_WITH_BRAND_FREE", "Slappit Package Option 4 with Brand Free");

	define("SETTINGS_USER_DRIBBBLE",'user_dribbble_url' );
	define('SETTINGS_USER_DIGG','user_digg_url' );
	define('SETTINGS_USER_VIMEO','user_vimeo_url' );
	define('SETTINGS_USER_YOUTUBE','user_youtube_url' );
	define('SETTINGS_USER_FORRST','user_forrst_url' );
	define('SETTINGS_USER_FLICKR','user_flickr_url' );
	
	define('CONTENT_MAIL_SHIPPING','<div style="background:#fcfcfc;width:745px;margin:0px auto;font-family:Arial">		
		<div style="font-size:0px">		    
		    <a rel="nofollow" href="http://www.NhomMua.com" title="muaHội.com" target="_blank"><img style="border:none;float:left" src="http://www.ngoisao-viet.com/images/Email_giaohang/email_logo_nhommua1.jpg" height="80" width="164"></a>
		    <img src="http://www.NhomMua.com/images/Email_giaohang/email_header.jpg" alt="muaHội.com" height="80" width="581">
		</div>
		<div style="font-size:13px;border-bottom:1px solid #cccccc;border-left:1px solid #cccccc;border-right:1px solid #cccccc;width:743px;margin:0px auto;background-color:#fff;margin-bottom:78px">			
				<div style="color:#333;margin:0px 0 7px 20px;padding-top:10px">
				    <b>Xin chào,</b><br><br>
					
					<b>Chúng tôi gửi thông báo này để bạn theo dõi thông tin giao hàng:</b><br>
				</div>
				<div style="background:#f0f0f0;color:#333;margin:0px 10px 7px 20px;padding-top:10px">
				<div style="color:#0099cc;font-weight:bold;margin:0 0 15px 15px;font-size:13px">Thông tin đơn hàng:</div>
					<table style="margin-left:8px;color:#333" width="700" border="0" cellpadding="0" cellspacing="0">
						<tbody><tr><th>
							  </th></tr><tr style="font-weight:bold;font-size:13px">							    
								<td style="border:1px solid #c6c4c5" height="30" width="97" bgcolor="#f0f0f0">Số HĐ</td>
								<td style="border:1px solid #c6c4c5;border-left:0px" height="30" width="185" bgcolor="#f0f0f0">Tên sản phẩm</td>
								<td style="border:1px solid #c6c4c5;border-left:0px" height="30" width="65" bgcolor="#f0f0f0">Số lượng</td>
								<td style="border:1px solid #c6c4c5;border-left:0px" height="30" width="100" bgcolor="#f0f0f0">Giá tiền (VNĐ)</td>
								<td style="border:1px solid #c6c4c5;border-left:0px" height="30" width="125" bgcolor="#f0f0f0">Thành tiền (VNĐ)</td>
								<td style="border:1px solid #c6c4c5;border-left:0px" height="30" width="125 " bgcolor="#f0f0f0">Dự kiến giao hàng</td>							    
							  </tr>
							  <tr><th>
							  </th></tr></tbody><tbody>
							  <tr><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0" bgcolor="#FFFFFF">[order_id]</td><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0;border-left:0px" bgcolor="#FFFFFF">[groupon_title]<br></td><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0;border-left:0px" bgcolor="#FFFFFF">[order_quantity]</td><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0;border-left:0px" bgcolor="#FFFFFF">[order_price]</td><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0;border-left:0px;font-weight:bold" bgcolor="#FFFFFF">[order_total_price]</td><td style="padding:10px 0 10px 5px;border:1px solid #c6c4c5;border-top:0;border-left:0px" bgcolor="#FFFFFF">[shipping_date]</td></tr>						 							  
							  </tbody>
							</table>
							<div style="margin:0 0 15px 15px;font-size:12px;padding:10px 0 10px 0"><i>**Dự kiến ngày giao hàng: có thể giao trễ hơn ngày dự kiến 1 ngày</i></div>
				</div>
				<div style="background:#f0f0f0;color:#333;margin:0px 10px 7px 20px;padding-top:10px">
				<div style="color:#0099cc;font-weight:bold;margin:0 0 15px 15px;font-size:13px">Thông tin người giao hàng:</div>
					<table style="margin-left:8px;color:#333" border="0" cellpadding="0" cellspacing="0">						
							  <tbody>
							  <tr>							    
								<td style="padding:0px 5px 10px 5px">
								
									<img src="[shippinger_image]" height="153" width="115">
								</td>
								<td style="padding:0px 5px 10px 5px;vertical-align:top">
									
									<span style="padding-right:35px">Nhân viên:</span> <span style="font-weight:bold">[shippinger_name]</span><br><br>
									<span style="padding-right:15px">Mã nhân viên:</span> <span style="font-size:21px;font-weight:bold">[shippinger_id]</span><br><br>
									<span style="padding-right:15px">Số điện thoại:</span> <span style="font-weight:bold">[shippinger_phone]</span><br><br>
								</td>								
							  </tr>							 							  
							  </tbody>
							</table>							
				</div>
				
				<img src="http://www.NhomMua.com/images/Email_giaohang/email_footer_line.jpg" height="12" width="743">
			<div style="background:#e1e1e1;min-height:210px">								  													
				<div style="width:720px;margin:0px auto;clear:both">					
					
					<div class="yj6qo"></div><div class="adL">
				</div></div><div class="adL">
			</div></div><div class="adL">					    
			
		</div></div><div class="adL">
		
	</div></div>' );
	
define('CONTENT_MAIL_SUBSCRIBE','<div alink="#000000" vlink="#000000" link="#000000" text="#353535" bgcolor="#dddddd">
 <div class="adM">

</div><table cellspacing="0" cellpadding="0" border="0" width="100%">
<colgroup>
<col width="100%">
</colgroup>
<tbody>
<tr>
<td height="111" align="center" valign="top" bgcolor="#0f5f92" style="background-repeat:repeat-x">
<table cellspacing="0" cellpadding="0" border="0" width="700">
<colgroup>
<col width="700">
</colgroup>
<tbody><tr>
<td width="700" align="left">
<table cellspacing="0" cellpadding="0" border="0" width="700">
<tbody><tr>
<td width="12"><img width="12" height="1" hspace="0"></td>
<td align="left" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td height="34"><img width="1" height="34" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left"><a href="http://ngoisao-viet.com/groupon/Browse" style="line-height:18px;color:#ffffff;font-weight:normal;text-decoration:none" target="_blank"><font face="Arial, Helvetica, sans-serif" size="5" color="#ffffff" style="font-size:20px;color:#ffffff;font-weight:normal;text-decoration:none"><img width="227" height="56" vspace="0" hspace="0" border="0" alt="" style="display:block"></font></a></td>
</tr>
</tbody></table>
</td>
<td align="right" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td height="29"><img width="1" height="29" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="right"><font face="Arial, Helvetica, sans-serif" size="2" color="#ffffff" style="font-size:12px;line-height:14px">Ngày 19 tháng 02 năm 2012</font></td>
</tr>
<tr>
<td height="9" style="background-repeat:no-repeat"><img width="1" height="9" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="34" style="background-repeat:no-repeat" valign="middle">
<table width="239" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="32"><img width="32" height="1" hspace="0"></td>
<td width="207" align="center"><font face="Arial, Helvetica, sans-serif" size="4" color="#313131" style="font-size:18px">Tp. Hồ Chí Minh</font></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#dddddd">
<table cellspacing="0" cellpadding="0" border="0" width="700">
<colgroup>
<col width="700">
</colgroup>
<tbody><tr>
<td width="700" height="20"><img width="1" height="20" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left" bgcolor="#ffffff">
<table cellspacing="0" cellpadding="0" border="0" width="700">
<tbody><tr>
<td width="9"><img width="9" height="10" vspace="0" hspace="0" style="display:block"></td>
<td width="682"><img width="1" height="10" vspace="0" hspace="0" style="display:block"></td>
<td width="9"><img width="9" height="10" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td align="left" bgcolor="#ffffff"><table cellspacing="0" cellpadding="0" border="0" width="700">
<tbody><tr>
<td width="15"><img width="15" height="1" hspace="0"></td>
<td width="667" align="left">
<table cellspacing="0" cellpadding="0" border="0" width="667">
<tbody><tr>
<td width="338" align="left" valign="top">
<table cellspacing="0" cellpadding="0" border="0" width="338">
<tbody><tr>
<td width="338" height="10"><img width="1" height="10" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="1"><img width="338" height="1" vspace="0" hspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0" width="338">
<tbody><tr>
<td width="3"><img width="3" height="225" vspace="0" hspace="0" style="display:block"></td>
<td width="332" align="left">
<table cellspacing="0" cellpadding="5" border="0" width="332">
<tbody><tr>
<td width="332" align="left" valign="top" style="padding:5px"><a href="" target="_blank"><img vspace="0" hspace="0" border="0" style="display:block" width="322" height="215"></a></td>
</tr>
</tbody></table>
</td>
<td width="3"><img width="3" height="225" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="6"><img width="338" height="6" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table>
</td>
<td width="18"><img width="18" height="1" hspace="0"></td>
<td width="311" align="left" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td height="6"><img width="1" height="6" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left"><font face="Arial, Helvetica, sans-serif" size="3" color="#0f5f92" style="font-size:16px;line-height:22px">Chăm sóc và điều trị các vấn đề về da bằng công nghệ cao Elight - Crown Beauty tại Trung tâm Thẩm mỹ Công nghệ cao Thủy Venus –Phương pháp làm đẹp an toàn và hiệu quả nhanh dành riêng cho những người bận rộn, chỉ 198.000 VNĐ cho phiếu 1.100.000 VNĐ (tiết kiệm 82%). Chỉ có tại Mua hội. </font></td>
</tr>
<tr>
<td height="18"><img width="1" height="18" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0" width="311">
<tbody><tr>
<td align="left" valign="middle">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td align="left" bgcolor="#31982d"><a href="http://ngoisao-viet.com/groupon/Resources/Images/2012-01462380844.jpg" style="color:#ffffff;font-weight:bold;text-decoration:none" target="_blank"><font face="Arial, Helvetica, sans-serif" size="5" color="#ffffff" style="font-size:20px;color:#ffffff;font-weight:bold;text-decoration:none"><img width="127" height="42" vspace="0" hspace="0" border="0" alt="XEM" style="display:block"></font></a></td>
</tr>
</tbody></table>
</td>
<td width="5"><img width="5" height="1" hspace="0"></td>
<td align="right" valign="middle"><font face="Arial, Helvetica, sans-serif" size="6" color="#f99431" style="font-size:26px;line-height:48px;color:#f99431;font-weight:bold;text-decoration:none"><b>198.000</b><font face="Arial, Helvetica, sans-serif" size="1" color="#f99431" style="font-size:10px;line-height:48px">VNĐ</font></font></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="17"><img width="1" height="17" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="50"><img width="50" height="1" hspace="0"></td>
<td align="center" valign="top"><font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:16px;color:#555555;font-weight:normal;text-decoration:none">82%<font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:10px"><br>tiết kiệm</font></font></td>
<td width="14"><img width="14" height="1" hspace="0"></td>
<td width="1" bgcolor="#bababa"><img width="1" height="1" hspace="0"></td>
<td width="24"><img width="24" height="1" hspace="0"></td>
<td align="center" valign="top"><font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:16px;color:#555555;font-weight:normal;text-decoration:none">1.100.000<font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:10px">VNĐ<br>giá gốc</font></font></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="27"><img width="1" height="27" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="center" valign="middle">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td>
<td width="16" align="center" valign="middle"><a href="http://b.ems.to/fw/t/Wxho:JIz:VYulB" style="line-height:17px;font-size:12px;text-decoration:none;font-weight:bold" target="_blank"><img border="0" vspace="0" hspace="0" style="display:block"></a></td>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td><td width="5"><img width="5" height="1" vspace="0" hspace="0"></td>
<td width="16" align="center" valign="middle"><a href="http://b.ems.to/fw/t/Wxh$:JIz:VYulB" style="line-height:17px;font-size:12px;text-decoration:none;font-weight:bold" target="_blank"><img border="0" vspace="0" hspace="0" style="display:block"></a></td>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td></tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td width="18"><img width="18" height="1" hspace="0"></td>
</tr>
</tbody></table>
<table cellspacing="0" cellpadding="0" border="0" width="700">
<tbody><tr>
<td height="10" colspan="3"><img width="1" height="10" vspace="0" style="display:block"></td>
</tr>
<tr>
<td width="18"><img width="18" height="1" vspace="0" hspace="0" style="display:block"></td>
<td height="1" bgcolor="#e5e5e5"><img width="1" height="1" vspace="0" style="display:block"></td>
<td width="18"><img width="18" height="1" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table><table cellspacing="0" cellpadding="0" border="0" width="700">
<tbody><tr>
<td width="15"><img width="15" height="1" hspace="0"></td>
<td width="667" align="left">
<table cellspacing="0" cellpadding="0" border="0" width="667">
<tbody><tr>
<td width="338" align="left" valign="top">
<table cellspacing="0" cellpadding="0" border="0" width="338">
<tbody><tr>
<td width="338" height="10"><img width="1" height="10" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="1"><img width="338" height="1" vspace="0" hspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0" width="338">
<tbody><tr>
<td width="3"><img width="3" height="225" vspace="0" hspace="0" style="display:block"></td>
<td width="332" align="left">
<table cellspacing="0" cellpadding="5" border="0" width="332">
<tbody><tr>
<td width="332" align="left" valign="top" style="padding:5px"><a href="http://ngoisao-viet.com/groupon/Browse/Deals/details/city/1/id/15" target="_blank"><img vspace="0" hspace="0" border="0" style="display:block" width="322" height="215"></a></td>
</tr>
</tbody></table>
</td>
<td width="3"><img width="3" height="225" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="6"><img width="338" height="6" vspace="0" hspace="0" style="display:block"></td>
</tr>
</tbody></table>
</td>
<td width="18"><img width="18" height="1" hspace="0"></td>
<td width="311" align="left" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td height="6"><img width="1" height="6" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left"><font face="Arial, Helvetica, sans-serif" size="3" color="#0f5f92" style="font-size:16px;line-height:22px">Thưởng thức rượu vang Ý, đặc sản Ý, các món ngon quốc tế, Việt Nam tại NHÀ HÀNG PINOCCHIO chỉ với 75.000 VNĐ cho phiếu 150.000 VNĐ (giảm giá 50%). Chỉ có tại nhómMua.</font></td>
</tr>
<tr>
<td height="18"><img width="1" height="18" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0" width="311">
<tbody><tr>
<td align="left" valign="middle">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td align="left" bgcolor="#31982d"><a href="http://ngoisao-viet.com/groupon/Browse/Deals/details/city/1/id/12" style="color:#ffffff;font-weight:bold;text-decoration:none" target="_blank"><font face="Arial, Helvetica, sans-serif" size="5" color="#ffffff" style="font-size:20px;color:#ffffff;font-weight:bold;text-decoration:none"><img width="127" height="42" vspace="0" hspace="0" border="0" alt="XEM" style="display:block"></font></a></td>
</tr>
</tbody></table>
</td>
<td width="5"><img width="5" height="1" hspace="0"></td>
<td align="right" valign="middle"><font face="Arial, Helvetica, sans-serif" size="6" color="#f99431" style="font-size:26px;line-height:48px;color:#f99431;font-weight:bold;text-decoration:none"><b>75.000</b><font face="Arial, Helvetica, sans-serif" size="1" color="#f99431" style="font-size:10px;line-height:48px">VNĐ</font></font></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="17"><img width="1" height="17" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="50"><img width="50" height="1" hspace="0"></td>
<td align="center" valign="top"><font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:16px;color:#555555;font-weight:normal;text-decoration:none">50%<font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:10px"><br>tiết kiệm</font></font></td>
<td width="14"><img width="14" height="1" hspace="0"></td>
<td width="1" bgcolor="#bababa"><img width="1" height="1" hspace="0"></td>
<td width="24"><img width="24" height="1" hspace="0"></td>
<td align="center" valign="top"><font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:16px;color:#555555;font-weight:normal;text-decoration:none">150.000<font face="Arial, Helvetica, sans-serif" size="1" color="#555555" style="font-size:10px">VNĐ<br>giá gốc</font></font></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="27"><img width="1" height="27" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="center" valign="middle">
<table cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td>
<td width="16" align="center" valign="middle"><a href="http://b.ems.to/fw/t/Wxhq:JIz:VYulB" style="line-height:17px;font-size:12px;text-decoration:none;font-weight:bold" target="_blank"><img border="0" vspace="0" hspace="0" style="display:block"></a></td>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td><td width="5"><img width="5" height="1" vspace="0" hspace="0"></td>
<td width="16" align="center" valign="middle"><a href="http://b.ems.to/fw/t/Wxha:JIz:VYulB" style="line-height:17px;font-size:12px;text-decoration:none;font-weight:bold" target="_blank"><img border="0" vspace="0" hspace="0" style="display:block"></a></td>
<td width="5"><img width="5" height="1" vspace="0" hspace="0"></td></tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td width="18"><img width="18" height="1" hspace="0"></td>
</tr>
</tbody></table>
</td>
</tr><tr>
<td height="30" bgcolor="#ffffff"><img width="1" height="30" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="1" bgcolor="#e5e5e5"><img width="1" height="1" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left" bgcolor="#ffffff">

</td>
</tr>
<tr>
<td height="17" bgcolor="#ffffff"><img width="1" height="17" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left" bgcolor="#ffffff">

</td>
</tr>
<tr>
<td height="13"><img width="1" height="13" vspace="0" style="display:block"></td>
</tr>
<tr>

</tr>
<tr>

</tr>
<tr>
<td height="6"><img width="1" height="6" vspace="0" style="display:block"></td>
</tr>
<tr>

</tr>
<tr>
<td height="12"><img width="1" height="12" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="1" bgcolor="#cccccc"><img width="1" height="1" vspace="0" style="display:block"></td>
</tr>
<tr>
<td height="9"><img width="1" height="9" vspace="0" style="display:block"></td>
</tr>
<tr>
<td align="left">
</td>
</tr>
<tr>
<td height="30"><img height="2" width="2" border="0" vspace="0" hspace="0"></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table><div class="yj6qo"></div><div class="adL">
</div></div>');